//
//  SampuxSetAliasView.h
//  Sampux
//
//  Created by rzm on 16/7/6.
//  Copyright © 2016年 rzm. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SPDeviceConfigModel.h"
#import "SampuxCustomTextFiledView.h"
#import "SampuxListModel.h"
#import "SPDeviceConfigModel.h"
#import "SPDeleteTextFiledView.h"

typedef enum : NSUInteger {
    SampuxSetAliasView_Device,
    SampuxSetAliasView_HailFellow,
}SampuxSetAliasView_Type;

@protocol SendAlisaStrDelegate <NSObject>

- (void)sendAlisaStr:(NSString *)aliasStr;
@end

@interface SampuxSetAliasView : UIView

@property (nonatomic, assign) id <SendAlisaStrDelegate> alisaDelegate;
@property (nonatomic, assign) SampuxSetAliasView_Type aliasType;
@property (nonatomic, strong) SampuxListModel *model;
@property (nonatomic, strong) UITextField *aliasF;
@property (nonatomic, strong) SPDeleteTextFiledView *aliasView;
@property (nonatomic, strong) GBInterMaster_Bean_DeviceOperatorInfo *info;
@property (nonatomic, strong) SPDeviceConfigModel *configmodel;

@end
